package org.wupuser.service;

import org.springframework.web.multipart.MultipartFile;
import org.wupuser.model.User;
import org.wupuser.model.dto.LoginRespDTO;
import org.wupuser.model.dto.UpdateUserRequest;

public interface UserService {
	User loadUser(
		String email);
	
	LoginRespDTO login(
		String email,
		String password);
	
	String reg(User user);
	
	String updateUser(UpdateUserRequest updateUserRequest);
	
	String userAvatarUpdate(
		MultipartFile file,
		// 用户上传的头像文件
		String email);
	
	String exit(String email);
}
